#!/usr/bin/python
# -*- coding: UTF-8 -*-

import re
import sys
import os
import time
import threading
import datetime

os.system("sudo service mysql restart > /dev/null 2>&1")
starttime = datetime.datetime.now()
#for num in range(1,10):
os.system("./exe")
endtime = datetime.datetime.now()
print "Mysql:" + str((endtime - starttime).total_seconds())
os.system("sudo service mysql restart > /dev/null 2>&1")
